<template>
  <!-- 表头 -->
  <div class="batch">
    <div class="b-wu"></div>
    <div class="header">
      <div class="header-font">查批号</div>
      <img
        @click="callBack"
        src="../inchildren/image/jifen_icon_fanhui.png"
        alt=""
      />
    </div>
    <div class="b-border"></div>

    <!-- 查询框 -->
    <div class="b-seach">
      <!-- 品牌 -->
      <div class="b-seach-a">
        <span class="b-brand"> 品牌 </span>
        <input type="text" name="" id="" placeholder="请选择品牌" />
        <img
          @click="nextGo"
          src="../inchildren/image/jifen_icon_fanhui2.png"
          alt=""
        />
      </div>
      <!-- 批号 -->
      <div class="b-seach-a">
        <span class="b-brand"> 批号 </span>
        <input type="text" name="" id="" placeholder="请输入生产批号" />
        <img src="../inchildren/image/x_icon_fanhu.png" alt="" />
      </div>
    </div>

    <!-- 反馈 -->
    <div class="small-icon">
      <div class="small-icon-left">
        <img src="../inchildren/image/icpn_pen.png" alt="" />
        &nbsp;
        <span>问题反馈</span>
      </div>

      <div class="small-icon-right">
        <img src="../inchildren/image/icon_request.png" alt="" />
        &nbsp;
        <span>账号说明</span>
      </div>
    </div>

    <!-- 查询按钮 -->
    <div class="b-button">
      <button>查询</button>
    </div>
    <!-- 查询历史 -->
    <div class="small-icon">
      <div class="small-icon-left">
        <img src="../inchildren/image/icon_del.png" alt="" />
        &nbsp;
        <span>查询历史</span>
      </div>

      <div class="small-icon-right">
        <!-- <img src="../inchildren/image/icon_request.png" alt="" /> -->
        &nbsp;
        <span>妆品管理</span>
      </div>
    </div>

    <div class="b-table">
      <div class="b-tab">
        <img src="../inchildren/image/icon-pic1.png" alt="" />
        <div class="b-tab-main">
          <p>ESTEE LAUDER/雅诗兰黛</p>
          <span>批号：OAO</span>
        </div>
      </div>

      <div class="b-tab">
        <img src="../inchildren/image/icon-pic2.png" alt="" />
        <div class="b-tab-main">
          <p>Kiehl‘s/科颜氏</p>
          <span>批号：18U801</span>
        </div>
      </div>

      <div class="b-tab">
        <img src="../inchildren/image/icon-pic3.png" alt="" />
        <div class="b-tab-main">
          <p>Curel/珂润</p>
          <span>批号：N0001481</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    callBack() {
      console.log(1);
      this.$router.push({ name: "index" });
    },

    nextGo() {
      console.log(1);
      this.$router.push({ name: "brands" });
    },
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}

.b-wu {
  width: 750px;
  height: 88px;
  border-radius: 0px 0px 0px 0px;
  opacity: 1;
}
.header {
  width: 750px;
  height: 88px;
  /* padding-bottom: 30px; */
  border-bottom: 1px solid #707070;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.header img {
  width: 15px;
  height: 27px;
  margin-left: 48px;
  position: absolute;
  top: 35px;
}
.header-font {
  width: 550px;
  height: 88px;
  font-size: 34px;
  display: block;
  font-family: PingFangSC-Medium-, PingFangSC-Medium;
  font-weight: 800;
  color: #2f2f2f;
  line-height: 88px;
  text-align: center;
  margin: 0 auto;
  -webkit-background-clip: text;
}

.b-seach {
  width: 750px;
  padding: 0 49px;
  margin-top: 50px;
}
.b-seach-a {
  width: 651px;
  height: 96px;
  background: #f2f2f2;
  border-radius: 48px 48px 48px 48px;
  opacity: 1;
  margin-top: 30px;
  margin-bottom: 20px;
}
.b-seach-a input::-webkit-input-placeholder {
  font-size: 24px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
  color: #999999;
  text-indent: 10px;
}
.b-seach-a input {
  width: 400px;
  height: 60px;
  /* text-align: center; */
  border: 0;
  outline: none;
  background-color: #f2f2f2;
  /* margin: 0 auto; */
}
.b-brand {
  /* display: block; */
  display: inline-block;
  width: 180px;
  height: 88px;
  background-color: #f2f2f2;
  font-size: 30px;
  font-family: PingFangSC-Medium-, PingFangSC-Medium;
  font-weight: normal;
  color: #2f2f2f;
  text-align: center;
  line-height: 88px;
  border-radius: 48px 0px 0px 48px;
}

.small-icon {
  width: 750px;
  height: 96px;
  /* background: pink; */
  padding: 25px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.small-icon-left {
  display: block;
  width: 150px;
  height: 50px;
  /* background: red; */
  line-height: 50px;
  display: flex;
  padding: 0px 7px;

  justify-content: space-around;
  align-items: center;
}
.small-icon-right {
  display: block;
  width: 150px;
  height: 50px;
  /* background: red; */
  line-height: 50px;
  display: flex;
  padding: 0px 7px;
  justify-content: space-around;
  align-items: center;
}
.small-icon-left img {
  /* margin-top: 8px; */
  display: inline-block;
  width: 24px;
  height: 24px;
}
.small-icon-left span {
  font-size: 24px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
  color: #2f2f2f;
  display: inline-block;
}
.small-icon-right img {
  /* margin-top: 8px; */
  display: inline-block;
  width: 24px;
  height: 24px;
}
.small-icon-right span {
  color: #d564fc;
  font-size: 24px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
}
.b-button {
  margin-top: 30px;
  width: 750px;
  padding: 0 0 50px 87px;
  margin-bottom: 25px;
  border-bottom: 1px solid #707070;
}
.b-button button {
  width: 586px;
  height: 88px;
  background: #999999;
  border-radius: 48px 48px 48px 48px;
  opacity: 1;
  font-size: 30px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #ffffff;
  outline: none;
  border: 0;
}
.b-table {
  width: 750px;
  padding: 0 56px;
  margin-top: 40px;
  /* margin-bottom: 40px; */
}
.b-tab {
  padding-top: 30px;
  margin-bottom: 40px;

  width: 639px;
  height: 170px;
  background: #ffffff;
  box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.16);
  border-radius: 10px 10px 10px 10px;
  opacity: 1;
}
.b-tab img {
  width: 232px;
  height: 110px;
  float: left;
  margin-left: 10px;
}

.b-tab-main {
  float: left;
  width: 332px;
  height: 110px;
  /* background: red; */
  padding-left: 20px;
  padding-top: 20px;
}
.b-tab-main p {
  font-size: 24px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #2f2f2f;
}

.b-tab-main span {
  font-size: 20px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #999999;
}
</style>
